import { Injectable } from "@nestjs/common";

@Injectable()
export class PipeService{
  get1(id): any {
    return {
      code: '200',
      method: 'GET',
      message: id
    }
  }
  post(id): string {
    return `您本次传递的参数id是${id}`
  }
  moreParamPost(param): string {
    return `传递的参数id:${param.id} message为:${param.message}`
  }
  patch(id): string {
    return `动态路由的参数为: ${id}`
  }
}
